package com.learning.railwayreservation.formbeans;

import java.util.ArrayList;
import java.util.List;

import org.apache.struts.action.ActionForm;

import com.learning.railwayreservation.vo.PassengerVO;

public class ConfirmBookingForm extends ActionForm {

	private static final long serialVersionUID = -4460727525535146619L;

	private String arrivalTime;

	private String departureTime;

	private String arrivalTo;

	private String departureFrom;

	private String trainName;

	private int trainId;

	private String boggieClass;

	private List<PassengerVO> passengerList = new ArrayList<PassengerVO>();

	public String getArrivalTo() {
		return arrivalTo;
	}

	public static long getSerialVersionUID() {
		return serialVersionUID;
	}

	public void setArrivalTo(String arrivalTo) {
		this.arrivalTo = arrivalTo;
	}

	public String getDepartureTime() {
		return departureTime;
	}

	public void setDepartureTime(String departureTime) {
		this.departureTime = departureTime;
	}

	public String getDepartureFrom() {
		return departureFrom;
	}

	public void setDepartureFrom(String departureFrom) {
		this.departureFrom = departureFrom;
	}

	public List getPassengerList() {
		return passengerList;
	}

	public String getArrivalTime() {
		return arrivalTime;
	}

	public void setArrivalTime(String arrivalTime) {
		this.arrivalTime = arrivalTime;
	}

	public int getTrainId() {
		return trainId;
	}

	public void setTrainId(int trainId) {
		this.trainId = trainId;
	}

	public String getTrainName() {
		return trainName;
	}

	public void setTrainName(String trainName) {
		this.trainName = trainName;
	}

	public void setPassengerList(List<PassengerVO> passengerList) {
		this.passengerList = passengerList;
	}

	public String getBoggieClass() {
		return boggieClass;
	}

	public void setBoggieClass(String boggieClass) {
		this.boggieClass = boggieClass;
	}

}
